package com.mrx.commons.annotations;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用 commons 包里所有的增强功能
 *
 * @author Mr.X
 * @since 2023-11-17 10:02
 **/
@EnableXLock
@EnableAsync
@EnableXTrace
@EnableFakeRedis
@EnableMailHelper
@EnableHttpConfig
@EnableFeignTrace
@EnableScheduling
@EnAbleAfterCommit
@EnableFeignClients
@EnableXScheduleTask
@EnableXLogCollector
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableAllEnhance {
}
